package com.test.router.system.service.resources;


import com.test.router.system.core.ResultResp;
import com.test.router.system.model.http.Request;

import java.util.Map;

public interface IAPIDispatcherService {
    ResultResp<Map<String, Object>> getForObject(String name, Object... uriVariables);

    ResultResp<Map<String, Object>> postForObject(String name, Map<String, Object> body);

    ResultResp<Map<String, Object>> putForObject(String name, Integer id, Map<String, Object> body);

    ResultResp<Map<String, Object>> deleteForObject(String name, Integer id);
}
